<div class="hinhthucxuphats view">
<h2><?php  __('Hinhthucxuphat');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hinhthucxuphat['Hinhthucxuphat']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Mahtxp'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hinhthucxuphat['Hinhthucxuphat']['mahtxp']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenhtxp'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $hinhthucxuphat['Hinhthucxuphat']['tenhtxp']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Thực hiện'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Sửa Hình thức xử phạt', true), array('action' => 'edit', $hinhthucxuphat['Hinhthucxuphat']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Xóa  Hình thức xử phạt', true), array('action' => 'delete', $hinhthucxuphat['Hinhthucxuphat']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $hinhthucxuphat['Hinhthucxuphat']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('DS Hình thức xử phạt', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Hình thức xử phạt mới', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('DS Chi tiết vi phạm', true), array('controller' => 'chitietviphams', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Chi tiết vi phạm mới', true), array('controller' => 'chitietviphams', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Liên kết Chi tiết vi phạm');?></h3>
	<?php if (!empty($hinhthucxuphat['Chitietvipham'])):?>
	<table id='tables' cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('id'); ?></th>
		<th><?php __('docgia_id'); ?></th>
		<th><?php __('bienlaiphat_id'); ?></th>
		<th><?php __('hinhthucxuphat_id'); ?></th>
		<th><?php __('lantaipham'); ?></th>
		<th><?php __('mucphat'); ?></th>
		<th class="actions"><?php __('Thực hiện');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($hinhthucxuphat['Chitietvipham'] as $chitietvipham):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $chitietvipham['STT'];?></td>
			<td><?php echo $chitietvipham['Mã Độc giả'];?></td>
			<td><?php echo $chitietvipham['Mã Biên lai phạt'];?></td>
			<td><?php echo $chitietvipham['Mã Hình thức xử phạt'];?></td>
			<td><?php echo $chitietvipham['Lần tái phạm'];?></td>
			<td><?php echo $chitietvipham['Mức phạt'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('Xem', true), array('controller' => 'chitietviphams', 'action' => 'view', $chitietvipham['id'])); ?>
				<?php echo $this->Html->link(__('Sửa', true), array('controller' => 'chitietviphams', 'action' => 'edit', $chitietvipham['id'])); ?>
				<?php echo $this->Html->link(__('Xóa', true), array('controller' => 'chitietviphams', 'action' => 'delete', $chitietvipham['id']), null, sprintf(__('Bạn có muốn xóa # %s?', true), $chitietvipham['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('Chi tiết vi phạm mới', true), array('controller' => 'chitietviphams', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
